package com.sdy.service;

import com.sdy.po.OrderItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderItemSercive {

    List<OrderItem> getAll();

    OrderItem getOne();

    Boolean update(OrderItem orderItem);

    Boolean insert(OrderItem orderItem);

    Boolean delete(Integer id);

    List<OrderItem> getListByOrderId(Integer id);

}
